home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
Other Langs
/
Tickle-4.0 (tcl)
/
src
/
defines.h
< prev
next >
Wrap
Text File
|
1993-11-18
|
2KB
|
73 lines
/*
** This source code was written by Tim Endres
** Email: time@ice.com.
** USMail: 8840 Main Street, Whitmore Lake, MI 48189
**
** Some portions of this application utilize sources
** that are copyrighted by ICE Engineering, Inc., and
** ICE Engineering retains all rights to those sources.
**
** Neither ICE Engineering, Inc., nor Tim Endres,
** warrants this source code for any reason, and neither
** party assumes any responsbility for the use of these
** sources, libraries, or applications. The user of these
** sources and binaries assumes all responsbilities for
** any resulting consequences.
*/
#ifndef _DEFINES_H_
#define _DEFINES_H_
#define APPL_TYPE (OSType)'$Tcl'
#define YIELD_ON 1
#define YIELD_OFF 0
#define NOTIFY_SICN_BASE 714
#define NOTIFY_ALL (-1)
enum NOTIFY_ENUM
{
NOTIFY_COPY_COMPLETE = 0,
NOTIFY_BINHEX,
NOTIFY_SIT,
NOTIFY_ZED,
NOTIFY_UU,
NOTIFY_NEED_DISK,
NOTIFY_COUNT
};
#define watchCursor 4
#define NUM_OF_NOTIFY_ICONS ( (int)(NOTIFY_COUNT) )
#define NOTIFY_ID(INDEX) ( NOTIFY_SICN_BASE + (INDEX) )
#define SAMESTR 0
#define ALWAYS 1
#define FOREVER ;;
#define SAVEAS 2
#define SAVE 1
#define TOSS 0
#define CANCEL -1
#undef CANCEL
#define SUCCESS 0
#define FAILURE -1
#define CANCEL -2
#define ABORT -3
#define ABORTOP ABORT
#define ERROR_BEEP 120
#define NOTE_BEEP 30
#define SHORT_BEEP 6
extern short cursor_ibeam;
#define UInitCursor() { InitCursor(); cursor_ibeam = 0; }
#define WatchCursorOn() { SetCursor(*GetCursor(watchCursor)); cursor_ibeam = 0; }
extern short pause_op;
extern int cancel_current_op;
#endif